<Location {{localpath}}>
RequestHeader set CP-Location {{localpath}}
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
</Location>

{% if env != "staging" %}
# Checkins are slowish, unfortunately this needs to be on the Server Config level
ProxyTimeout 180

ProxyPass "/mirrormanager/xmlrpc" "http://mm-frontend-checkin01/mirrormanager/xmlrpc"
ProxyPassReverse "/mirrormanager/xmlrpc" "http://mm-frontend-checkin01/mirrormanager/xmlrpc"
{% endif %}

ProxyPass {{localpath}} {{proxyurl}}{{remotepath}}
ProxyPassReverse {{localpath}} {{proxyurl}}{{remotepath}}
